package Ketang0416;

import java.util.Scanner;

public class 三个数 {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		System.out.println("输入第一个数：");
		int a = in.nextInt();
		System.out.println("输入第二个数：");
		int b = in.nextInt();
		System.out.println("输入第三个数：");
		int c = in.nextInt();
		if (a > b) {
			if (a > c) {
				System.out.println(a);
			} else {
				System.out.println(c);
			}

		} else {
			if (b > c) {
				System.out.println(b);
			} else {
				System.out.println(c);
			}
		}
	}

}
